<template>
  <div class="index">
    <div class="top111">
      <img @click="fanhui" src="../assets/总图标包含整个系统的/fanhui.png" />
      <span></span>
      <img class="aaaa" src="../assets/总图标包含整个系统的/fanhuishouye.png" />
    </div>
    <div class="top"></div>
    <div class="content">
      <div class="box" @click="customer">
        <img src="../assets/图标/我的客户.png" />
        <h4>我的客户</h4>
        <p>MY CLIENTS</p>
      </div>
      <div class="box">
        <img src="../assets/图标/客户关怀.png" />
        <h4>客户关怀</h4>
        <p>CUSTOMER</p>
      </div>
      <div class="box" @click="letter">
        <img src="../assets/图标/消息中心.png" />
        <h4>信息中心</h4>
        <p>NEWS</p>
      </div>
      <div class="box" @click="about">
        <img src="../assets/图标/物流单.png" />
        <h4>物流单</h4>
        <p>LOGISTICS</p>
      </div>
      <div class="box" @click="courier">
        <img src="../assets/图标/物流单.png" />
        <h4>快递单</h4>
        <p>LOGISTICS</p>
      </div>
    </div>
    <div class="boxzu">
      <div class="box">
        <img src="../assets/系统功能.png" />
        <p class="colorl">系统功能</p>
      </div>
      <div class="box_x">
        <div class="box" @click="letter">
          <img src="../assets/总图标包含整个系统的/联系.png" />
          <p>联系</p>
        </div>
      </div>
      <div class="box" @click="user">
        <img src="../assets/总图标包含整个系统的/形状 566.png" />
        <p>个人中心</p>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  data() {
    return {
      icon: {
        active: require("../assets/系统功能.png"),
        inactive: "https://img01.yzcdn.cn/vant/user-inactive.png",
      },
    };
  },
  methods: {
    fanhui() {
      this.$router.go(-1);
    },

    letter() {
      this.$router.push("/letter");
    },
    user() {
      this.$router.push("/user");
    },
    about() {
      this.$router.push("/about");
    },
    courier() {
      this.$router.push("/courier");
    },
    customer() {
      this.$router.push("/customer");
    },
  },
};
</script>
 
<style lang = "less" scoped>
.index {
  width: 100%;
  height: 100vh;
  background-color: #f5f5f5;
  /* overflow: hidden; */
  .top {
    width: 100%;
    height: 20vh;
    background-color: #003399;
    /* background: url("https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=2719147568,2811228431&fm=26&gp=0.jpg")
      no-repeat center;
    background-size: cover; */
  }
  .content {
    /* background-color: #cfc; */
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .box {
      width: 48%;
      background-color: #fff;
      text-align: center;
      padding: 30px 1px;
      margin-bottom: 10px;
      img {
        width: 50px;
        height: 58px;
      }
      h4 {
        font-size: 14px;
        font-weight: 400;
        margin-top: 10px;
      }
      p {
        font-size: 10px;
        margin-top: 3px;
      }
    }
  }
}
.boxzu {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-color: #fff;
  padding: 10px 0;
  .box {
    flex: 1;
    img {
      display: block;
      margin: auto;
      width: 20px;
      margin-bottom: 5px;
    }
    p {
      text-align: center;
      font-size: 14px;
    }
    .colorl {
      color: blue;
    }
  }
  .box_x {
    flex: 1;
    /* position: absolute; */
    .box {
      position: fixed;
      padding: 10px 20px;
      background-color: #ffcc33;
      left: 150px;
      bottom: 25px;
      border-radius: 50%;
      border: 5px solid #f5f5f5;
      img {
        display: block;
        margin: auto;
        width: 20px;
        margin-bottom: 5px;
      }
      p {
        text-align: center;
        color: #fff;
      }
    }
  }
}
.top111 {
  background-color: #023293;
  display: flex;
  justify-content: space-between;
  color: #fff;
  align-items: center;
  padding: 10px;
  img {
    width: 10px;
  }
  .aaaa {
    width: 20px;
  }
}
</style>